
/**
 * Ősosztály, amely az összes, a j�t�kban szerepl� egys�g �soszt�ly�ul szolg�l.
 */
public class Entity {

  protected Field field;
  public Integer ID = SkeletonHelper.GetObjectID();


  public Entity()
  {
    System.out.printf("%s created at %s" + System.getProperty("line.separator"),
            this.toString(), SkeletonHelper.getLastPoint());
  }

  public boolean explode()
  {
    return false;
  }

  public boolean dig()
  {
    return false;
  }

  public boolean kill()
  {
    return false;
  }

  public boolean eat()
  {
    return false;
  }

  public boolean move(int direction, int depth)
  {
    return false;
  }

  public boolean isRound()
  {
    return false;
  }

  public void activate()
  {
  }

  public void setField(Field field)
  {
    this.field = field;
  }

  public String toString()
  {
    return "Entity["+ID+"]";
  }
}